//
//  InforTableViewCell.m
//  高级项目1
//
//  Created by 爽 on 15/12/25.
//  Copyright © 2015年 爽. All rights reserved.
//
#import "InforTableViewCell.h"
#import "Header.h"
@implementation InforTableViewCell

//重写初始化方法
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self addImage];
    }
    return self;
}

-(void)addImage {
    _iconimageView = [[UIImageView alloc] init];
    _iconimageView.frame =CGRectMake(My_Width(15), My_Height(8), My_Width(40), My_Height(40));
    [self.contentView addSubview:_iconimageView];
    
    _inforlabel = [[UILabel alloc] initWithFrame:CGRectMake(CGRectGetMaxX(_iconimageView.frame)+15, My_Height(8), My_Width(200), My_Height(40))];
    [self.contentView addSubview:_inforlabel];
}





@end
